package edu.biwu.model;

import lombok.*;

import java.time.LocalDate;
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor  //配合@NonNull使用 指定自己相传的属性参数
public class Student {
    private int sno;
    @NonNull
    private String sname;
    @NonNull
    private String sgender;
    @NonNull
    private LocalDate sbirthday;
}
